import {useState} from 'react'
import {Link} from 'react-router-dom'
import './App.css'

function App() {
    const [count, setCount] = useState(0)

    return (
        <div>
            <Link to="/edit/12?goods_id=100">编辑页面 (测试获取路由参数)</Link><br/>
            <Link to="/goods">厂品页面（测试嵌套路由）</Link><br/>
            <Link replace to="/goods">厂品页面（跳转后，不留痕迹，无法返回）</Link>
        </div>
    )
}

export default App
